package com.mojian.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: yuzhuo
 * @date: 2025/6/6
 * @description: 用户社交平台DTO
 */
@Data
@ApiModel(value = "用户社交平台DTO")
public class SysUserPlatformDto {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @ApiModelProperty(value = "平台类型", required = true)
    @NotBlank(message = "平台类型不能为空")
    private String platformType;

    @ApiModelProperty(value = "主页地址", required = true)
    @NotBlank(message = "主页地址不能为空")
    private String homeUrl;

    @ApiModelProperty(value = "粉丝数")
    private Integer fansCount;

    @ApiModelProperty(value = "认证类型")
    private Integer verificationType;

    @ApiModelProperty(value = "平台标签")
    private String platformTags;
} 